package vn.aptech.scrumgroup.util;

import android.util.FloatMath;
import android.view.MotionEvent;

public class TouchUtil {
	public static float spacing(MotionEvent event) {
		   float x = event.getX(0) - event.getX(1);
		   float y = event.getY(0) - event.getY(1);
		   return FloatMath.sqrt(x * x + y * y);
	}//end method
}//end class
